<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/bootstrap.min.js"></script>
<script text="text/javascript">
    function alertu (mes) {
        alert(mes);
        parent.$.fancybox.close();
    }
    
    $(document).ready(function(){
        $(".fancybox").fancybox();
                
        $(".input").fancybox({
            autoDimensions: false,
            padding: 20,
            margin:0,
            width:350,
            maxHeight:600
        });
    });
</script>
</body>
</html>